package com.iptv.grape.ui.frgmt.my.impls;

public class SystemMgr {
    private final static String TYPE_DEF = "def";
    private final static String TYPE_CST = "cst";
    private static String TYPE_CUR = "def";
   public static SystemInfo build(){
       SystemInfo  systemInfo;
       switch (TYPE_CUR){
           case TYPE_DEF:
               systemInfo = new SystemDef();
               break;
           case TYPE_CST:
               systemInfo = new SystemCst();
               break;
               default:
                   systemInfo = new SystemDef();
                   break;
       }
        return systemInfo;
   }
}
